package makovo.controller;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.SessionAware;

import com.opensymphony.xwork2.ActionSupport;

public class Logout extends ActionSupport implements SessionAware{
    private Map sessionMap;
	@Override
	public void setSession(Map map)
    {
        this.sessionMap = map;
    }
	
	public String execute()
	{
		sessionMap.clear();
		return SUCCESS;
	}
}
